<?php

/**
 * Base components for the jfPortableDeviceExtImageGalleryPlugin jfPortableDevice module.
 * 
 * @package     jfPortableDeviceExtImageGalleryPlugin
 * @subpackage  components
 * @author      Jonas Fischer <info@jonasfischer.net>
 * @version     SVN: $Id: BaseComponents.class.php 12534 2008-11-01 13:38:27Z Kris.Wallsmith $
 */
abstract class BasejfPortableDeviceExtImageGalleryComponents extends sfComponents
{
  public function executeIndex() {
  	$request = $this->getContext()->getRequest(); //symfony 1.0 compatibility
  	jfPortableDevice::setPageAttribute('data-jfPDExtImageGallery', 'true');
  	$this->jsOptions = sfConfig::get('mod_jfportabledeviceextimagegallery_jsOptions', array());
  	//jfPortableDevice::setConfig('fixedToolbars', false);
  }
}
